from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


class ComputeConfig(AppConfig):
    name = 'compute'
    verbose_name = _('计算资源管理')

    def ready(self):
        # 服务启动后的初始化的操作
        from compute import compute_settings
        compute_settings.setup_center_config()


